Credit-based network congestion management

ABSTRACT

A switching network includes first, second and third switches coupled for communication, such that the first and third switches communicate data traffic via the second switch. The first switch is operable to request transmission credits from the third switch, receive the transmission credits from the third switch and perform transmission of data traffic in reference to the transmission credits. The third switch is operable to receive the request for transmission credits from the first switch, generate the transmission credits and transmit the transmission credits to the first switch via the second switch. The second switch is operable to modify the transmission credits transmitted by the third switch prior to receipt of the transmission credits at the first switch.

BACKGROUND OF THE INVENTION

1. Technical Field

The present disclosure relates in general to network communication and, in particular, to an improved congestion management system for packet switched networks.

2. Description of the Related Art

As is known in the art, network communication is commonly premised on the well known seven layer Open Systems Interconnection (OSI) model, which defines the functions of various protocol layers while not specifying the layer protocols themselves. The seven layers, sometimes referred to herein as Layer 7 through Layer 1, are the application, presentation, session, transport, network, data link, and physical layers, respectively.

At a source station, data communication begins when data is received from a source process at the top (application) layer of the stack of functions. The data is sequentially formatted at each successively lower layer of the stack until a data frame of bits is obtained at the data link layer. Finally, at the physical layer, the data is transmitted in the form of electromagnetic signals toward a destination station via a network link. When received at the destination station, the transmitted data is passed up a corresponding stack of functions in the reverse order in which the data was processed at the source station, thus supplying the information to a receiving process at the destination station.

The principle of layered protocols, such as those supported by the OSI model, is that, while data traverses the model layers vertically, the layers at the source and destination stations interact in a peer-to-peer (i.e., Layer N to Layer N) manner, and the functions of each individual layer are performed without affecting the interface between the function of the individual layer and the protocol layers immediately above and below it. To achieve this effect, each layer of the protocol stack in the source station typically adds information (in the form of an encapsulated header) to the data generated by the sending process as the data descends the stack. At the destination station, these encapsulated headers are stripped off one-by-one as the data propagates up the layers of the stack until the decapsulated data is delivered to the receiving process.

The physical network coupling the source and destination stations may include any number of network nodes interconnected by one or more wired or wireless network links. The network nodes commonly include hosts (e.g., server computers, client computers, mobile devices, etc.) that produce and consume network traffic, switches, and routers. Conventional network switches interconnect different network segments and process and forward data at the data link layer (Layer 2) of the OSI model. Switches typically provide at least basic bridge functions, including filtering data traffic by Layer 2 Media Access Control (MAC) address, learning the source MAC addresses of frames, and forwarding frames based upon destination MAC addresses. Routers, which interconnect different networks at the network (Layer 3) of the OSI model, typically implement network services such as route processing, path determination and path switching.

A large network typically includes a large number of switches, which operate somewhat independently. Switches within the flow path of network data traffic include an ingress switch that receives incoming data packets and an egress switch that sends outgoing data packets, and frequently further include one or more intermediate switches coupled between the ingress and egress switches, in such a network, a switch is said to be congested when the rate at which data traffic ingresses at the switch exceeds the rate at which data traffic egresses at the switch.

In conventional networks, when a switch in a data flow path is congested with data traffic, the congested switch may apply “back pressure” by transmitting one or more congestion management messages, such as a priority-based flow control (PFC) or congestion notification (CN) message, requesting other switches in the network that are transmitting data traffic to the congested switch to reduce or to halt data traffic to the congested switch. Conventional congestion management message may specify a backoff time period during which data traffic is reduced or halted, where the backoff time may be determined upon the extent of congestion experienced by the congested switch.

Conventional congestion management messages may not provide satisfactory management of network traffic, however. Conventional congestion management schemes are voluntary in that the switches sourcing the congesting data traffic are free to ignore the congestion management messages of the congested switch and to continue to transmit excess data traffic, which ultimately will be dropped by the congested switch. Further, a delay occurs between when congestion is detected by the congested switch and when the other switches of the network stop sending data traffic to the congested switch. During the delay, excess data traffic can be dropped by the congested switch. Thus, the conventional techniques of congestion management are reactionary and can require the communication protocols utilized to transport the data traffic to recover dropped data traffic. Conventional congestion management is particularly inadequate in scenarios in which the flow path of data traffic includes a large number of series-connected switches. In such cases, congestion may start at the egress switch and then continue build toward the ingress switch in domino fashion, with data traffic being dropped all along the line. The processing and latency required to recovery traffic dropped in response to congestion is further exacerbated when the data traffic is communicated with lossy lower layer protocols.

SUMMARY OF THE INVENTION

In at least one embodiment, a switching network includes first, second and third switches coupled for communication, such that the first and third switches communicate data traffic via the second switch. The first switch is operable to request transmission credits from the third switch, receive the transmission credits from the third switch and perform transmission of data traffic in reference to the transmission credits. The third switch is operable to receive the request for transmission credits from the first switch, generate the transmission credits and transmit the transmission credits to the first switch via the second switch. The second switch is operable to modify the transmission credits transmitted by the third switch prior to receipt of the transmission credits at the first switch.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high level block diagram of a data processing environment in accordance with one embodiment;

FIG. 2 is a more detailed view of a switching network in the data processing environment of FIG.

FIG. 3 illustrates an exemplary embodiment of a physical switch in a switching network;

FIG. 4 depicts an exemplary embodiment of a host platform that can be utilized to implement a virtual switch of a switching network;

FIG. 5 is a high level logical flowchart of an exemplary embodiment of a process by which a switch transmitting data traffic implements congestion management in a switching network;

FIG. 6 is a high level logical flowchart of an exemplary embodiment of a process by which a switch receiving data traffic implements congestion management in a switching network; and

FIG. 7 is a high level logical flowchart of an exemplary embodiment of a process by which an intermediate switch forwarding data traffic implements congestion management in a switching network.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENT

With reference now to the figures and with particular reference to FIG. 1, there is illustrated a high level block diagram of an exemplary data processing environment 100 in accordance within one embodiment. As shown, data processing environment 100 includes a collection of resources 102. Resources 102, which may include various hosts, clients, switches, routers, storage, etc., are interconnected for communication and may be grouped (not shown) physically or virtually, in one or more public, private, community, public, or cloud networks or a combination thereof. In this manner, data processing environment 100 can offer infrastructure, platforms, software and/or services accessible to various client devices 110, such as personal (e.g., desktop, laptop, netbook, tablet or handheld) computers 110 a, smart phones 110 b, server computer systems 110 c and consumer electronics, such as media players (e.g., set top boxes, digital versatile disk (DVD) players, or digital video recorders (DVRs)) 110 d. It should be understood that the types of client devices 110 shown in FIG. 1 are illustrative only and that client devices 110 can be any type of electronic device capable of communicating with and/or accessing resources 102 via a packet network.

Referring now to FIG. 2, there is illustrated a more detailed view of an exemplary embodiment of a switching network 200 within resources 102 of data processing environment 100. Switching network 200 may be, for example, a Transparent Interconnection of Lots of Links (TRILL) network, Ethernet network, Fibre Channel network, a converged network carrying Fibre Channel over Ethernet (FCoE), or some other packet switched network.

As shown, switching network 200 comprises a plurality (and in some cases a multiplicity) of switches 202. In various embodiments, each of switches 202 may be implemented in hardware, in software, or in a combination of hardware and software.

In the present exemplary embodiment, switches 202 of switching network 200 include a first switch 202 a that serves as an ingress switch for at least some data traffic of switching network 200, a third switch 202 c that serves as an egress switch for at least some data traffic of switching network 200, and intermediate second, fourth and fifth switches 202 b, 202 d, and 202 e, respectively. Thus, in the depicted exemplary switching network 200, data traffic may be forwarded between first switch 202 a and third switch 202 c via multiple paths, including the first path through second and fifth switches 202 b, 202 e and the alternative second path through fourth and fifth switches 202 d, 202 e.

In a switching network 200 such as that illustrated, any of switches 202 may become congested as one or more other switches 202 transmit data traffic to a switch 202 at a rate greater than that switch 202 is itself able to forward that data traffic towards its destination(s). In many switching networks 200, congestion is more frequently experienced at egress switches 200, such as third switch 200 c. For example, switch 202 c may become congested as switches 202 h, 202 d and 202 e all concentrate egress data traffic at egress switch 202 e, which may provide access to a server or other frequently accessed network-connected resource. As noted above, conventional congestion management messaging has been found to be inadequate in at least some circumstances because of the inherent delay in receiving the congestion management messages at network nodes transmitting the congesting data traffic (e.g., switch 202 a) and because of the optional adherence of nodes (e.g., switches 202 a, 202 b, 202 d and 202 e) to the reduction of data traffic requested by such congestion management messages.

With reference now to FIG. 3, there is illustrated a first exemplary embodiment of a physical switch 300 that may be utilized to implement any of switches 202 of FIG. 2. As shown, switch 300 includes a plurality of physical ports 302 a-302 m. Each physical port 302 includes a respective one of a plurality of receive (Rx) interfaces 304 a-304 m and a respective one of a plurality of ingress queues 306 a-306 m that buffers frames of data traffic received by the associated Rx interface 304. Each of ports 302 a-302 m further includes a respective one of a plurality of egress queues 314 a-314 m and a respective one of a plurality of transmit (Tx) interfaces 320 a-320 m that transmit frames of data traffic from an associated egress queue 314.

Switch 300 additionally includes a crossbar 310 that is operable to intelligently switch data frames from any of ingress queues 306 a-306 m to any of egress queues 314 a-314 m under the direction of switch controller 330. As will be appreciated, switch controller 330 can be implemented with one or more centralized or distributed, special-purpose or general-purpose processing elements or logic devices, which may implement control entirely in hardware, or more commonly, through the execution of firmware and/or software by a processing element.

In order to intelligently switch data frames, switch controller 330 builds and maintains one or more data plane data structures, for example, a Layer 2 forwarding information base (FIB) 332 and a Layer 3 routing information base (RIB) 334, which can be implemented, for example, as tables in content-addressable memory (CAM). In some embodiments, the contents of FIB 332 can be preconfigured, for example, by utilizing a management interface to specify particular egress ports 302 for particular traffic classifications (e.g., MAC addresses, traffic types, ingress ports, etc.) of traffic. Switch controller 330 can alternatively or additionally build FIB 332 in an automated manner by learning from observed data frames an association between ports 302 and destination MAC addresses specified by the data frames and recording the learned associations in FIB 332. Switch controller 330 thereafter controls crossbar 310 to switch data frames in accordance with the associations recorded in FIB 332. RIB 334, if present, can similarly be preconfigured or dynamically to route data packets. For example, in a embodiment in which switch 300 is a TRILL switch implemented in a TRILL network, RIB 334 is preferably preconfigured with a predetermined route through switching network 200 among multiple possible equal cost paths for each destination address. In other embodiments, dynamic routing algorithms, such as ECMP or the like, can be utilized to dynamically select (and update RIB 334 with) a route for a flow of data traffic based on Layer 3 address and/or other criteria.

Switch controller 330 additionally implements a congestion management unit 336 that can be utilized to manage congestion (including its prevention) within a switching network 200. In accordance with a preferred embodiment, congestion management unit 336 is configured to request transmission credits from an end node in a flow path through switching network 200. The transmission credits may be denominated, for example, in a quanta of data traffic, such as a count of data frames (Layer 2) or data packets (Layer 3). The transmission credits can additionally have an associated maximum rate of data traffic expressed, for example, as data frames or data packets per time period. Congestion management unit 336 is further configured to regulate transmission of the data traffic by switch 300 along the flow path in accordance with the transmission credits it has received. In addition, congestion management unit 336 is configured to generate transmission credits requested by other switches 300, as well as to modify transmission credits generated by other switches 300 in accordance with the available transmission capabilities and available bandwidth of switch 300. The congestion management implemented by congestion management unit 336 is described in greater detail below with reference to FIGS. 5-7.

In support of the congestion management implemented by congestion management unit 336, congestion management unit 336 preferably implements a data structure, such as transmission credit data structure 340. In the depicted embodiment, transmission credit data structure 340 includes multiple entries 342 each identifying a particular switch 202 in a switch ID (SID) field 344 and associating the identified switch 202 with a count of transmission credits specified by a transmission credit counter (TCC) 346. In response to receipt by switch 300 of transmission credits generated by a particular switch 202, congestion management unit 336 updates the TCC 346 of the relevant entry 342 (or installs a new entry 342) in transmission credit data structure 340. Congestion management unit 336 then diminishes the transmission credits reflected by a given TCC 346 as data traffic is forwarded by switch 300 to the switch 202 associated with that TCC 346. In a preferred embodiment, switch 300 is configured to not forward data traffic to a switch 202 in excess of that for which switch 300 has transmission credits. Although shown separately from FIB 332 and RIB 334 for the sake of clarity, it should be appreciated that in some embodiments, transmission credit data structure 340 can be implemented in combination with one or both of FIB 332 and RIB 334. Further, it should be appreciated that switch controller 330 can install and/or update the forwarding and routing entries in FIB 332 and RIB 334 based on the flow paths for which it has the greatest amount of available transmission credits.

As noted above, any of switches 202 may be implemented as a virtual switch by program code executed on a physical host platform. For example, FIG. 4 depicts an exemplary host platform 400 including one or more network interfaces 404 (e.g., network interface cards (NICs), converged network adapters (CNAs), etc.) that support connections to physical network links for communication with other switches 202 or other network-connected devices. Host platform 400 additionally includes one or more processors 402 (typically comprising one or more integrated circuits) that process data and program code, for example, to manage, access and manipulate data or software in data processing environment 100. Host platform 400 also includes input/output (I/O) devices 406, such as ports, displays, user input devices and attached devices, etc., which receive inputs and provide outputs of the processing performed by host 400 and/or other resource(s) in data processing environment 100. Finally, host platform 400 includes data storage 410, which may include one or more volatile or non-volatile storage devices, including memories, solid state drives, optical or magnetic disk drives, tape drives, etc. Data storage 410 may store, for example, program code 420 (including software, firmware or a combination thereof) executable by processors 402. Program code 420, which may comprise one or more of a virtual machine monitor (VMM), virtual machines, operating system(s) (OSs), and/or application software, may implement one or more switches 202 (and one or more associated network links) virtually. As understood by those skilled in the art, such virtual switches may virtualize the components and functions of switch 300 of FIG. 3, including that of congestion management unit 336. Further, such switches can be configured to support any of a number of protocols, including TRILL, Fibre Channel, Ethernet, FCoE, etc.

With reference now to FIG. 5, there is illustrated a high level logical flowchart of an exemplary embodiment of a process by which a switch transmitting data traffic implements congestion management in a switching network. Like the other logical flowcharts presented herein, FIG. 5 depicts steps of the process in logical rather than strictly chronological order, meaning that at least some steps may be performed in a different order than presented or concurrently. For clarity of exposition, FIG. 5 will be described with reference to the operation of first switch 202 a of switching network 200.

The process of FIG. 5 begins at block 500 and then proceeds to block 502, which illustrates first switch 202 a of switching network 200 learning that the flow path for data traffic to be forwarded by first switch 202 a is through third switch 202 e, which is identified as the egress switch in switching network 200 for the traffic flow. The determination illustrated at block 502 can be made, for example, by switch controller 330 determining a flow path for data traffic ingressing into switching network 200 by reference to one or more entries in one or more of FIB 332 and RIB 334. In response to the determination at block 502, congestion management unit 336 of first switch 202 a determines at block 504 whether or not additional transmission credits are needed to transmit the data traffic to third switch 202 c. In some embodiments, the determination depicted at block 504 may reflect a determination of whether the TCC 346 of the entry 342 of transmission credit data structure 340 associated with the SID of third switch 202 c has a count value greater than a transmission threshold. If congestion management unit 336 makes a negative determination at block 504, meaning that first switch 202 a has received and retained sufficient transmission credits from third switch 202 c to transmit at least a threshold amount of data traffic to third switch 202 c, the process iterates at block 504.

In response to a determination at block 504 that switch 202 a needs additional transmission credits for switch 202 c in order to forward data traffic, the process proceeds to block 510. Block 510 depicts first switch 202 a transmitting a request for transmission credits to third switch 202 c, meaning that in the embodiment of switching network 200 shown in FIG. 2, the request for transmission credits traverses one or more intermediate switches 202, including second switch 202 b, it will be appreciated that in various protocols, the transmission credit request can be communicated out-of-band in a proprietary control frame, out-of-band in a standards-based control frame, or can be “piggy-backed,” for example, in an encapsulated header, reserved field, or padding field of an in-band data frame forwarded toward third switch 202 c. The request for transmission credits can optionally specify a requested amount of transmission credits.

Next, at block 512, congestion management unit 336 determines whether or not a transmission credit grant for third switch 202 e has been received within a timeout period. As with the transmission credit request, the transmission credit grant can be communicated to first switch 202 a out-of-band in a proprietary control frame, out-of-band in a standards-based control frame, or can be “piggy-backed” in an in-band data frame. If a transmission credit grant has not been received within the timeout period, the process returns to block 504, which has been described, if however, congestion management unit 336 determines at block 512 that a transmission credit grant has been received, congestion management unit 336 updates the TCC 346 associated with third switch 202 e with the received transmission credits (block 520).

With the transmission credits, congestion management unit 336 permits switch 202 a to forward data traffic to third switch 202 c, which in the embodiment of FIG. 2 entails forwarding data traffic toward third switch 202 c via one or more intermediate switches 202, such as second switch 202 b (block 522). Until sufficient transmission credits are received, congestion management unit 336 preferably prevents first switch 202 a from forwarding data traffic toward third switch 202 c, meaning that first switch 202 a either temporarily buffers data traffic for forwarding toward third switch 202 c in its ingress queues 306 and/or egress queues 314 or simply drops the traffic (e.g., once a buffer limit is reached). As further indicated at block 522, as first switch 202 a forwards each quantum of data traffic toward third switch 202 c, congestion management unit 336 decrements the relevant TCC 346 for each quantum of data traffic (e.g., data packet or data frame) transmitted by first switch 202 a toward third switch 202 c.

As indicated at blocks 524 and 526, as long as first switch 202 a has more data traffic to forward toward third switch 202 c and has sufficient (i.e., more than a transmission threshold amount of) transmission credits to do so, first switch 202 a continues to forward data traffic to third switch 202 c via one or more intermediate switches, such as second switch 202 b, as depicted at block 522. If the data traffic to be forwarded is exhausted prior to the available transmission credits, then the process of FIG. 5 proceeds from block 524 to block 530 and terminates. If, however, the transmission credits of first switch 202 a for third switch 202 c reach the transmission threshold while additional data traffic remains to be forwarded toward third switch 202 c, the process returns to block 504 via page connector A, indicating that first switch 202 a requests additional transmission credits from third switch 202 c to enable transmission of the additional data traffic. It should be appreciated that in at least some embodiments, first switch 202 a can request additional transmission credits from third switch 202 c prior to the exhaustion of all transmission credits for third switch 202 c and can transmit additional data traffic toward third switch 202 c in the interim with any remaining transmission credits until additional transmission credits for third switch 202 c are received.

Referring now to FIG. 6, there is depicted is a high level logical flowchart of an exemplary embodiment of a process by which a switch receiving data traffic implements congestion management in a switching network. For clarity, the process of FIG. 6 will be described with reference to third switch 202 c, which serves as an egress switch for at least some data traffic of switching network 200.

The process of FIG. 6 begins at block 600 and then proceeds to block 602, which illustrates third switch 202 c monitoring for receipt of a transmission credit request, for example, from first switch 202 a. In response to receipt of a transmission credit request from first switch 202 a, third switch 202 c determines at block 610 whether or not third switch 202 c presently has bandwidth available to forward data traffic based on its transmission capabilities and available bandwidth. Third switch 202 c may optionally further take into consideration the aggregate number of outstanding transmission credits that it has granted that have not been used. In response to a negative determination at block 610, third switch 202 e drops the transmission credit request at block 612. Thereafter, the process of FIG. 6 ends at block 620.

Returning to block 610, in response to third switch 202 c determining that its has bandwidth available to forward data traffic, the process proceeds from block 610 to block 614. Block 614 depicts congestion management unit 336 of third switch 202 c generating a transmission credit grant specifying an amount of transmission credits in accordance with its transmission capabilities and available bandwidth. Third switch 202 c thereafter transmits the transmission credit grant toward first switch 202 a via second switch 202 b (block 616). The process of FIG. 6 then terminates at block 620.

With reference now to FIG. 7, there is illustrated a high level logical flowchart of an exemplary embodiment of a process by which an intermediate switch forwarding data traffic implements congestion management in a switching network. For clarity, the process of FIG. 7 will be described with reference to second switch 202 b, which is intermediate an ingress switch (i.e., first switch 202 a) and an egress switch (i.e., third switch 202 c) for at least some data traffic of switching network 200.

The process of FIG. 7 begins at block 700 and then proceeds to block 702, which illustrates second switch 202 b monitoring for receipt of a transmission credit grant of another switch 202, for example, a transmission credit grant by third switch 202 c for first switch 202 a. In response to receipt from third switch 202 e of a transmission credit grant, second switch 202 b determines at block 704 whether or not second switch 202 b presently has bandwidth available to forward data traffic toward third switch 202 c in accordance with the amount of transmission credits specified by the transmission credit grant. As with third switch 202 e, second switch 202 b may make the evaluation shown at block 704 based on, for example, its transmission capabilities, available bandwidth, and the aggregate number of transmission credits it has granted that have not been used. In response to a negative determination at block 704, congestion management unit 336 of second switch 202 b reduces the amount of transmission credits specified in the transmission credit grant request in accordance with its ability to forward data traffic toward third switch 202 c (block 706). The process then proceeds to block 708.

Returning to block 704, in response to second switch 202 b determining that its has bandwidth available to forward data traffic in accordance with the full amount of transmission credits specified in the transmission credit grant, congestion management unit 336 does not diminish the amount of transmission credits specified in the transmission credit grant. Instead, the process proceeds directly from block 704 to block 708. Block 708 depicts second switch 202 b forwarding the transmission credit grant specifying the possibly modified amount of transmission credits toward first switch 202 a. The process of FIG. 7 thereafter terminates at block 710. As should be appreciated, as the process of FIG. 7 is repeated at one or more intermediate switches coupled between third switch 202 c and first switch 202 a as the transmission credit grant traverses the end-to-end flow path of the data traffic, the amount of transmission credits specified in the transmission credit grant may be diminished by one or more of the intermediate switches, reducing (or even eliminating) the likelihood that any of the switches 202 in the end-to-end flow path will subsequently drop data traffic forwarded from first switch 202 a to block 202 c due to congestion.

As has been described, in at least one embodiment a switching network includes first, second and third switches coupled for communication, such that the first and third switches communicate data traffic via the second switch. The first switch is operable to request transmission credits from the third switch, receive the transmission credits from the third switch and perform transmission of data traffic in reference to the transmission credits. The third switch is operable to receive the request for transmission credits from the first switch, generate the transmission credits and transmit the transmission credits to the first switch via the second switch. The second switch is operable to modify the transmission credits transmitted by the third switch prior to receipt of the transmission credits at the first switch.

While the present invention has been particularly shown as described with reference to one or more preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention. For example, although aspects have been described with respect to one or more machines (e.g., hosts and/or network switches) executing program code (e.g., software, firmware or a combination thereof) that direct the functions described herein, it should be understood that embodiments may alternatively be implemented as a program product including a tangible machine-readable storage medium or storage device (e.g., an optical storage medium, memory storage medium, disk storage medium, etc.) storing program code that can be processed by a machine to cause the machine to perform one or more of the described functions. 

1. A switch for a switching network, wherein the switch is a second switch through which data traffic is communicated between first and third switches of the switching network, wherein the second switch comprises: a plurality of ports for communicating data traffic; and a switch controller that controls switching between the plurality of ports, wherein the switch controller, responsive to receiving from the third switch transmission credits intended for the first switch, is operable to modify the transmission credits and transmit the modified transmission credits to the first switch.
 2. The switch of claim 1, wherein the transmission credits indicate an authorized number of data packets that are permitted to be transmitted.
 3. The switch of claim 1, wherein the second switch reduces the transmission credits in accordance with its available bandwidth.
 4. A switching network comprising: a second switch in accordance with claim 1; the first and third switches coupled to the second switch for communication of data traffic there through; wherein the first switch is operable to request transmission credits from a third switch, receive the transmission credits from the third switch and transmit data traffic in accordance with the transmission credits; wherein the third switch is operable to receive a request for transmission credits from the first switch, generate the transmission credits and transmit the transmission credits toward the first switch via the second switch.
 5. The switching network of claim 4, wherein: the first switch comprises an ingress switch; and the third switch comprises an egress switch.
 6. The switching network of claim 5, wherein the switching network comprises a Transparent Interconnection of Lots of Links (TRILL) network.
 7. The switching network of claim 6, wherein: the TRILL network includes a fourth switch intermediate the first and third switches; and the first switch selects a transmission path to the third switch via the second switch rather than the fourth switch based on the transmission credits available through the second switch.
 8. The switching network of claim 4, wherein the first switch decrements transmission credits received from the third switch in accordance with its transmission of data traffic to the third switch.
 9. The switching network of claim 4, wherein the third switch generates the transmission credits in accordance with its available bandwidth. 10.-18. (canceled)
 19. A program product, comprising: a machine-readable storage device; and program code stored within the machine-readable storage medium for operating a switching network including first and third switches coupled to the second switch to communicate data traffic there through, wherein the program code, when processed by a machine, causes the machine to perform: the second switch receiving from the third switch transmission credits intended for the first switch; and responsive to receiving the transmission credits, the second switch modifying the transmission credits and transmitting the modified transmission credits to the first switch.
 20. The program product of claim 19, wherein the transmission credits indicate an authorized number of data packets that are permitted to be transmitted.
 21. The program product of claim 19, wherein the modifying includes the second switch reducing the transmission credits in accordance with its available bandwidth.
 22. The program product of claim 19, wherein the program product further causes performance of: the first switch requesting transmission credits from a third switch, and in response to receiving transmission credits, transmitting data traffic in accordance with the transmission credits; the third switch receiving a request for transmission credits from the first switch, generating the transmission credits, and transmitting the transmission credits toward the first switch via the second switch.
 23. The program product of claim 19, wherein: the first switch comprises an ingress switch; the third switch comprises an egress switch; and the program code further causes the ingress switch to transmit data traffic across the switching network to the egress switch in accordance with the transmission credits.
 24. The program product of claim 23, wherein the switching network comprises a Transparent Interconnection of Lots of Links (TRILL) network.
 25. The program product of claim 24, wherein: the TRILL network includes a fourth switch intermediate the first and third switches; and the program code further causes the first switch to select a transmission path to the third switch via the second switch rather than the fourth switch based on the transmission credits available through the second switch.
 26. The program product of claim 23, wherein the program code further causes the first switch to decrement the received transmission credits in accordance with its transmission of data traffic to the third switch.
 27. The program product of claim 23, wherein the program code further causes the third switch to generate the transmission credits in accordance with its available bandwidth. 